package com.责任链模式.service;

import com.责任链模式.BaseParamPojo;
import com.责任链模式.BaseParamVo;
import org.springframework.stereotype.Service;

@Service
public class OssService extends BaseAbstractClass{
    @Override
    public BaseParamPojo returnOrderApply(BaseParamPojo baseParamPojo, BaseParamVo baseParamVo) {
        if (baseParamVo.getOssPojo()!=null){
            baseParamPojo.setOssPojo(baseParamVo.getOssPojo());
        }
        //调用下一个处理者
        return this.getBaseAbstractClass().returnOrderApply(baseParamPojo,baseParamVo);
    }
}
